home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PENULTIMATE CLIPPER MENU PROGRAM
-
- BY HENRY J. FRANZONI III
-
- (Yet another Pull-Down-Light-Bar Menu)
-
- Clipper is a trademark of Nantucket, Inc.
-
- Released into the public domain 03/10/87.
-
-
- I wouldn't bore you with another light bar menu unless I thought
-
- that something was lacking from the light-bar menus I have encountered.
-
- Mostly they are too slow, they redraw the screen too much or they only
-
- allow for 9 menu choices, etc..
-
-
- I have had trouble implementing the "@ PROMPT MESSAGE" command
-
- and the "MENU TO" command in Clipper. The CLIPMENU.PRG demonstration
-
- program that came with my Clipper compiler showed promise but any
-
- of the menus I made looked ah, well... crummy. There was always
-
- something blinking that I didn't like.
-
-
- Having spent a few hours tinkering with these commands, I am
-
- somewhat satisfied with the behavior of this program, although
-
- I am sure there is room for improvement.
-
-
-
- The MENULEN variable controls the length of each pull down
-
- menu, of which there are five, each of which can have up to 20
-
- choices. This means that 100 choices can appear on this menu.
-
- The enclosed version has 19 choices on four menus, and 9 on one
-
- to demonstrate the use of MENULEN.
-
- Each pull down menu is 16 characters wide. The colors I picked
-
- for the ISCOLOR() function to use look OK on a CGA, MONO,
-
- and Compaq Mono Graphics adapters.
-
-
- The arrow keys work as expected, the Esc key backs up one
-
- level and exits if you are on the menu bar. Typing the first letter
-
- of the menu choice also moves the cursor to the choice.
-
-
- This Pull-Down-Light-Bar menu system seems to work better
-
- than the others I have encountered in the public domain. I hope
-
- you find it useful.
-
-
- P.S. I used the Autumn 86 version on this, but I think the
-
- Winter 85 version will act the same.
-
-
- Bye Bye,
-
-
- Henry J. Franzoni III
- 65 Nassau St. #10c
- New York, N.Y. 10038